/**** Column ******/
.lead-page .swimlines .ibox .ibox-title,
.lead-page .swimlines .ibox.filter-area.border-bottom .ibox-title.collapse-link {
    border-bottom: none;
}

.lead-page .swimlines .ibox-title {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 278%;
    display: flex;
    align-items: center;
    padding-bottom: 0;
}

.lead-page .swimlines .ibox-title span {
    height: 32px;
    width: 32px;
    background: #E0E2E7;
    border-radius: 50px;
}

.lead-page .swimlines .ibox-title h5 {
    height: 32px;
    font-style: normal;
    font-size: 16px;
    line-height: 50px;
    display: flex;
    align-items: center;
    color: #000000;
}

.lead-page .swimlines .ibox-title h5 div.title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lead-page .swimlines .ibox-title span {
    font-size: 14px;
    line-height: 33px;
    align-items: center;
    text-align: center;
    margin-left: 11px;
}

.lead-page .swimlines .ibox-content {
    padding: 0px 14px 0px 14px;
}

.lead-page .swimlines .ibox-content ul.sortable-list > li {
    height: 76px;
    background: #FFFFFF;
    border: 1px solid #E0E2E7;
    box-sizing: border-box;
    border-radius: 6px;
}

.lead-page .lead-swimlines-table {
    width: 100%;
}

.lead-page .lead-swimlines-table .noty-title strong {
    height: 24px;
    font-size: 14px;
    align-items: center;
    color: #003366;
}

.lead-page .lead-swimlines-table .description {
    padding-left: 5px;
    width: 100%;
}

.lead-page .lead-swimlines-table .noty-content span.notify_message {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 266px;
    white-space: nowrap;
    font-size: 14px;
    line-height: 34px;
    display: inline-block;
    align-items: center;
    color: #2C303A;
}

/*****************/
.item-lead {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.item-lead .column {
    width: 90%;
    padding-left: 3px;
}

.item-lead .action {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.item-lead .action span.dropdown-toggle {
    float: right;
    margin-left: auto;
}
.item-lead .column .header {
    line-height: 21px;
}

.item-lead .column .header .customer {
    height: 13px;
    font-weight: 600;
    color: #003366;
    font-size: 12px;
    line-height: 12px;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-lead .column .header {
    width: 100px;
}
@media  (min-width: 1800px) {
    .item-lead .column .header {
        width: 300px;
    }
}
@media  (min-width: 1700px) {
    .item-lead .column .header {
        width: 280px;
    }
}

.item-lead .column .header .user, .item-lead .column .body {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    min-height: 21px;
}

.item-lead .dropdown-menu {
    top: 36px;
    background: #FFFFFF;
    border: 1px solid #E0E2E7;
    box-sizing: border-box;
    box-shadow: 0px 6px 15px rgba(44, 48, 58, 0.1);
    border-radius: 6px;
    width: 373px;
    z-index: 2001;
}

.col .date-block .title,
.col .date-block .value {
    display: inline-block;
}
.col .date-block .value {
    padding-left: 3px;
}

@media (max-width: 1200px) {
    .col .date-block {
        display: none;
    }
}

/**** Lead event dropdown ***/
.lead-event-list {
    list-style-type: none;
    padding: 0 0 0 0;
    box-shadow: 0px 6px 15px rgba(44, 48, 58, 0.1);
}

.lead-event-list .lead-event-box {
    display: flex;
    height: 77px;
}

.lead-event-list .lead-event-box .event-content {
    white-space: nowrap;
    width: 270px;
    padding-top: 18px;
}

.lead-event-list .lead-event-box .event-content .event-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    height: 24px;
}

.lead-event-list .lead-event-box .lead-event-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    position: relative;
}

.lead-event-list .lead-event-box .lead-event-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    position: relative;
}


.lead-event-list .lead-event-box .event-content .event-footer {
    font-size: 14px;
}

.lead-event-list li {
    border-bottom: 1px solid #E0E2E7;
}

.lead-event-box.add-new {
    height: 55px;
    background: #F6F7F8;
    border-radius: 6px;
}

.lead-event-box.add-new .event-content {
    margin-right: 20px;
}

.lead-event-box.add-new .event-content {
    height: 33px;
    font-size: 14px;
    display: flex;
    align-items: center;
    color: #3366E1;
    font-weight: 600;
}


/***** Lead icons ******/
.lead-event-close {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    padding: 5px 18px 3px 4px;
    border: 1px solid #AFB3BC;
}

.done .lead-event-close {
    border: 1px solid #1AB36A;
    background: url(../images/icons/check.svg);
}

.lead-type-select {
    padding-bottom: 20px;
    margin-left: -9px;
}

.lead-type-select label {
    padding: 4px 0 0 1px;
    margin: 0 10px;
    width: 40px;
    height: 40px;
    border: 1px solid #AFB3BC;
    box-sizing: border-box;
    border-radius: 6px;
}

.lead-type-select label i {
    opacity: 0.2;
    margin-top: 3px;
    margin-left: 6px;
}

.lead-type-select label i:hover {
    opacity: 1;
    background-color: #3366E1;
}

.lead-type-select .lead-type-input {
    display: none;
    visibility: hidden;
}
.lead-type-select .radio-list {
    display: flex;
}
.lead-type-select .radio-inline input[type="radio"]:checked + i {
    background-color: #3366E1;
}

.lead-type-select label.active.radio-inline {
    background: rgba(51, 102, 225, 0.1);
    border: 1px solid #3366E1;
}

.lead-type-select .radio-inline {
    margin-right: 0;
}

/****** Mby move modal.css ****/
.modal-footer {
    padding-top: 24px;
    padding-bottom: 21px;
    padding-left: 23px;
    padding-right: 24px;
}
.modal-header {
    padding-top: 18px !important;
    padding-bottom: 19px !important;
}

.lead-task-list {
    padding-top: 20px;
}
.lead-task-list .header {
    height: 32px;
    font-weight: 600;
    font-size: 18px;
    line-height: 50px;
    display: flex;
    align-items: center;
    color: #000000;
}

.col.line-hr {
    border-top: 1px solid #E0E2E7;
    margin: 0px 0 0px 0px !important;
    padding: 0px 0 0 0 !important;
    width: 101.4%;
    right: 9px;
}

.lead-task-list #active, .lead-task-list #history  {
    padding-top: 23px;
}
.lead-task-list .title::before {
    content: "\f107";
    color: #333;
    font-family: "FontAwesome";
    padding-right: 10px;
    font-size: 24px;
}

.lead-task-list .title[aria-expanded="true"]::before {
    content: "\f106";
}

#leadModal .table-responsive {
    overflow-x: unset;
    overflow-y: unset;
    overflow: unset;
}

.border-right-modal {
    border-right: 1px solid #E0E2E7;
    padding-bottom: 6px;
    padding-right: 18px !important;
}

@media  (max-width: 1199px) {
    .border-right-modal {
        padding-bottom: 56px;
    }
}

.modal .table-responsive {
    border: 0 !important;
}

.modal-text-block label {
    font-size: 12px;
    line-height: 16px;
    margin: 0;
    font-weight: 500;
    padding-bottom: 5px;
}
.modal-text-block span {
    font-weight: 600;
    font-size: 13px;
    color: #2C303A;
    padding-bottom: 13px;
}

table.event-list tbody tr{
    border-top: 1px solid #E0E2E7;
    height: 49px;

}

table.event-list thead tr {
    height: 42px;
}

table.event-list th {
    height: 24px;
    left: 66px;
    font-size: 14px;
    line-height: 14px;
    color: #003366;
    font-weight: bold;
    padding-left: 0;
}
table.event-list th:first-child {
    padding-left: 62px;
    width: 50px;
}
table.event-list tbody tr:last-child {
    border-bottom: 1px solid #E0E2E7;
}

table.event-list .dropdown-menu li a {
    font-size: 13px;
    font-weight: bold;
    padding-left: 11px;
}

.lead-add-new-task-button {
    font-size: 14px;
    font-weight: 600;
    color: #3366E1 !important;
    float: right;
    margin-left: auto;
    line-height: 5px;
    padding-bottom: 11px;
}

.lead-add-new-task-button:before {
    display: block;
    content: ' ';
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 3px 0 -19px -35px;
    background-color: #3366E1;

    -webkit-mask-image: url('../images/icons/plus.svg');
    mask-image: url('../images/icons/plus.svg');
}


#addLeadEventModal .lead-date-picker {
    padding-left: 0;
}

#addLeadEventModal .lead-time-picker {
    padding: 0 0 0 0;
}

#addLeadEventModal .modal-footer-lead-checkbox {
    padding-right: 20px;
    font-size: 14px !important;
    line-height: 21px;
    color: #000000;
    font-weight: 600;
}

.modal-footer-lead-checkbox {
    position: relative;
    padding-left: 35px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-footer-lead-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.modal-footer-lead-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 1px solid #AFB3BC;
    border-radius: 6px;
}

.modal-footer-lead-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.modal-footer-lead-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
}

.modal-footer-lead-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.modal-footer-lead-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.modal-footer-lead-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
#leadModal .modal-body,
#addLeadEventModal .modal-body{
    padding: 29px 23px 24px 23px;
}

@media  (max-width: 1300px) {
    .item-lead .dropdown-menu {
        width: 288px;
    }
    .lead-event-list .lead-event-box .event-content {
        width: 202px;
    }

    .lead-event-list .lead-event-box .event-content .event-footer {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .item-lead .action span {
        float: none;
        margin-left: unset;
    }

    /** Scroll column horizontal **/
    .row.swimlines {
        display: flex;
        overflow: scroll;
    }
    .row.swimlines .col-lg-3 {
        width: 335px;
        padding-right: 0;
    }
}


@media  (max-width: 1200px) {
    .item-lead .dropdown-menu {
        width: 238px;
    }
    .lead-event-list .lead-event-box .event-content {
        width: 152px;
    }

    .lead-event-list .lead-event-box .event-content .event-footer {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .item-lead .action span {
        float: none;
        margin-left: unset;
    }

    /** Scroll column horizontal **/
    .row.swimlines {
        display: flex;
        overflow: scroll;
    }
    .row.swimlines .col-lg-3 {
        width: 285px;
        padding-right: 0;
    }
}
@media  (max-width: 500px) {
    .modal .modal-dialog {
        position: fixed;
        margin: auto;
        width: 320px;
        height: 100%;
        -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
        -o-transform: translate3d(0%, 0, 0);
        transform: translate3d(0%, 0, 0);
    }

    .modal .modal-content {
        height: 100%;
        overflow-y: auto;
        border-radius: 0;
    }

    .modal .modal-body {
        padding: 15px 15px 80px;
    }

    .modal.fade .modal-dialog {
        right: -320px;
        -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
        -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
        -o-transition: opacity 0.3s linear, right 0.3s ease-out;
        transition: opacity 0.3s linear, right 0.3s ease-out;
    }

    .modal.fade.in .modal-dialog {
        right: 0;
        width: 100%;
    }


    .lead-type-select .radio-inline {
        height: 56px;
        width: 56px;
    }

    .lead-type-select label i {
        transform: scale(1.5);
        margin-top: 11px;
        margin-left: 13px;
    }
}

@media  (max-width: 454px) {

    table.event-list th:nth-child(3),
    table.event-list th:nth-child(4),
    table.event-list td:nth-child(3),
    table.event-list td:nth-child(4) {
        display: none;
    }

}
@media  (max-width: 991px) {
    .col.line-hr {
        width: 103%;
    }
}
@media  (max-width: 767px) {
    .col.line-hr {
        width: 102%;
    }
}

@media  (max-width: 316px) {

    table.event-list th:nth-child(2),
    table.event-list td:nth-child(2) {
        display: none;
    }

}

@media  (max-width: 751px) {
    .lead-page .swimlines-content .row .ibox {
        width: 80vw;
    }
}

/*** Boostrap **/
@media (max-width: 1200px) {
    .border-right-modal {
      border-right: 0;
    }
}

.modal-text-block i {
    float: right;
}
.offer-select-block, .user-select-block, .customer-select-block, .company-select-block, .test-drive-select-block {
    display: none;
}

.col-lg-custom {
    width: 100%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 0px;
    padding-left: 15px;
}

.lead-page .swimlines-block {
    padding-right: 10px !important;
}

.lead-page .swimlines-block:last-child {
    padding-right: 0 !important;
}

.lead-page .swimlines-content {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    overflow-y: scroll;
}
.lead-page .swimlines-block {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}

.lead-page .agile-list > li {
    padding: 0;
}
.lead-page .swimlines {
    display: flex;
    min-height: 900px;
}

.lead-page .sortable-list.agile-list.ui-sortable {
    padding-bottom: 0;
}

.lead-page .swimlines-block ul.sortable-list.agile-list.ui-sortable {
    min-height: 0px !important;
}

.lead-page .swimlines-block .drag_and_drop_text {
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    display: block;
    font-size: 13px;
    margin-top: 8px;
}

.lead-page .swimlines-block .drag-placeholder {
    height: 76px;
    background: #E0E2E7;
    border: 1px solid #E0E2E7;
    box-sizing: border-box;
    border-radius: 6px;
    display: none;
}

.hideDragAndDrop {
    transition: 0.01s;
    transform: translateX(-9999px);
    height: 0px !important;
}

/***** Lead modal buttons ******/
.lead-task-list .button-block {
    margin-left: auto;
    display: flex;
}
.lead-task-list .button-block #lead-response-buttons {
    display: none;
}
.lead-task-list .button-block #lead-buttons {
    display: block;
}
@media  (max-width: 850px) {
    .lead-task-list .button-block #lead-response-buttons {
        display: block;
        padding-right: 33px;
    }
    .lead-task-list .button-block #lead-buttons {
        display: none;
    }
}

@media (max-width: 340px) {
    .lead-task-list .header .title {
        font-size: 15px;
        position: absolute;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 40%;
        white-space: nowrap;
    }
}
