.deltacrm_logo {
    width: 180px;
    margin: 15px 25px 0px 0px;
}
@media (max-width: 370px) { .deltacrm_logo { display: none; } }

.deal_status {
    display:inline-block;
    padding:2px 8px;
    border-radius:4px;
}
div.page_body {
    display: flex;
    width: 100%;
    gap: 0px 10px;
}
div.page_info_element {
    border-top: 1px solid transparent;
    padding: 10px 0px;
    padding-top: 10px;
}
div.page_info_wrapper {
    margin: 0px 0px 20px 0px;
}
div.page_info_element {
    border-top: 1px solid #edeef0 !important;
}
div.page_info_element:first-child {
    border-top: none !important;
    padding-top: 5px !important;
}
div.page_info_element_title {
    color: #666;
}
div.page_info_element_title {
    font-size: 12px;
    padding-bottom: 5px;
}
.user_link {
    display: flex;
    gap: 0px 10px;
    align-items: center;
    height: 50px;
}
.user_link img {
    width: 50px;
    border-radius: 25px;
}
.object_link {
    display: flex;
    gap: 0px 10px;
    align-items: center;
    height: 50px;
}
.object_link img {
    width: 50px;
    border-radius: 25px;
}
.object_link span {
    display: block;
    font-size: 12px;
    color: #666;
}
.page_left {
    min-width: 250px;
}
.page_right {
    width: 100%;
    display: flex;
    flex-direction: column;
}


div.status {
    font-size:16px;
    margin:0px 0px 15px 0px;
}
div.contact_status {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px 10px 5px 0px;
    border-radius: 5px;
}
.deal_status {
    display:inline-block;
    padding:2px 8px;
    border-radius:4px;
    color: #fff;
}
.activity_name {
    border-bottom: 1px dashed transparent;
}
.activity_name:hover {
    text-decoration: none !important;
}
.light_mode .activity_name {
    border-bottom: 1px dashed #4c88bc;
}
.activity_icon_do {
    width:16px;
    height:16px;
    display:inline-block;
    text-align:center;
    cursor:default;
    background-image:url(/delta-crm/core/assets/img/activity_icon_do.png);
}
.activity_icon_call {
    width:16px;
    height:16px;
    display:inline-block;
    text-align:center;
    cursor:default;
    background-image:url(/delta-crm/core/assets/img/activity_icon_call.png);
}
.activity_icon_mail {
    width:16px;
    height:16px;
    display:inline-block;
    text-align:center;
    cursor:default;
    background-image:url(/delta-crm/core/assets/img/activity_icon_mail.png);
}
.activity_icon_meet {
    width:16px;
    height:16px;
    display:inline-block;
    text-align:center;
    cursor:default;
    background-image:url(/delta-crm/core/assets/img/activity_icon_meet.png);
}
.activity_icon_invert {
    background-position:-16px 0px;
}

ul.activity_checklist {
    padding:0px;
    list-style:none;
}
.checklist_complete {
    text-decoration:line-through;
}

.deal_status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
}

div.kanban {
    display: table;
}
div.kanban_col {
    display: table-cell;
    vertical-align: top;
    text-align: left;
    width: 300px;
    box-sizing: border-box;
    height: 100vh;
    border: 1px solid transparent;
}
div.kanban_element {
    padding: 0px 5px 7px 5px;
    display: block;
    position: inherit;
    cursor: default !important;
}

div.kanban_element_block {
    display: block;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
    pointer-events: none;
    -webkit-user-drag: element;
    min-height: 70px;

}
div.kanban_info {
    margin-top: 0px;
}
div.kanban_info_string span {
    color: #999;
}
div.kanban_info_date {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}
div.kanban_info_money {
    color: #50ac52;
}
div.kanban_element_block a {
    pointer-events: all;
    -webkit-user-drag: none;
}
div.kanban_contur {
    min-height: 70px;
    box-sizing: border-box;
    border: 2px dashed transparent;
    margin: 0px 5px 7px 5px;
    pointer-events: none;
    border-radius: 5px;
}
div.kanban_title {
    padding: 15px 10px;
    text-align: center;
    margin-bottom: 10px;
    width: 290px;

}
.light_mode div.kanban_element_block {
    background-color: #fff;
    border: 1px solid #cccccc;
}
.light_mode div.kanban_col {
    background-color: #f6f7f9;
    border: 1px solid #fff;
}
.light_mode div.kanban_contur {
    border: 2px dashed #999;
}
.light_mode .str_color_gray {
    background-color: #f0eeee;
    border: 2px solid #c1c1c1 !important;
    color: #878484;
}
.dark_mode .str_color_gray {
    background-color: #686868;
    border: 2px solid #c1c1c1 !important;
    color: #dbdbdb;
}
#funnel_selector {
    border-radius: 5px;
    border: 2px solid #aeaeae;
    background-color: #f6f6f6;
    font-family: Montserrat;
    font-size: 12px;
    margin: 0px 0px 0px 20px !important;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 5px 10px;
}


.photo_slide {
    transition: margin-left 0.3s ease-in-out;
}
div.realty_obj_element_img {
    width: 250px;
    height: 200px;
    position: absolute;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
}
div.realty_obj_slider_img {
    width: 250px;
    height: 200px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}
div.realty_obj_slider_img a {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 295px;
}
div.realty_obj_left {
    display: table-cell;
    overflow: hidden;
    width: 200px;
}
div.realty_obj_photo {
    display: block;
    width: 240px;
    height: 200px;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
}
div.photo_slider_next, div.photo_slider_prev {
    position: absolute;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-color: rgba(0,0,0,0.6);
    cursor: pointer;
    background-size: 12px;
    background-repeat: no-repeat;
}
div.photo_slider_cnt {
    background-color: rgba(0,0,0,0.6);
    color: white;
    position: absolute;
    font-size: 12px;
    width: 40px;
    padding: 10px 5px;
    border-radius: 5px;
    text-align: center;
    bottom: 10px;
    right: 10px;
    user-select: none;
}
div.photo_slider_next {
    right: 15px;
    background-image: url("/delta-crm/core/assets/img/right_w.svg");
    background-position: 10px 9px;
}
div.photo_slider_prev {
    left: 15px;
    background-image: url("/delta-crm/core/assets/img/left_w.svg");
    background-position: 8px 9px;
}
.collapsible-text { line-height: 1.5; }
.toggle-link { color: #007cba; text-decoration: none; font-size: 0.9em; }
.toggle-link:hover { text-decoration: underline; }