﻿:root {
    --toggle-height: 162px;
}

.div_tables_root {
    box-shadow: 0 0 7px #ddd;
    display: flex;
    margin: 0 1rem;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}
.div_right_menu {
    width: 300px;
    border-left: 1px solid #ddd;
    box-shadow: 0 0 7px #ddd;
    padding: 0.5rem;
    background-color: #fff;
    z-index: 2;
}
.div_tables {
    flex: 1;
    padding: 0.5rem;
}
.a_toggle_right_menu {
    position: absolute;
    top: 0px;
    right: 0;
    display: block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0.6rem;
    background-color: #fff;
    z-index: 5;
    visibility: hidden;
    opacity: 0;
}

@media (max-width: 768px) {
    .div_right_menu {
        position: relative;
        display: none;
    }
    .div_tables {
        margin-right: 0;
    }
    .div_right_menu.shown {
        display: block;
    }
        .div_right_menu.shown + .div_tables {
            margin-right: -300px;
        }
    .a_toggle_right_menu {
        visibility: visible;
        opacity: 1;
    }
}

.div_sale_person {
    padding-top: 0.2rem;
}
    .div_sale_person div[rel="img"] {
        text-align: center;
    }
        .div_sale_person div[rel="img"] > img {
            width: 90%;
            margin: 0 auto;
            border-radius: 0.3rem;
            border: 1px solid #fff;
            box-shadow: 0 1px 5px #b9b9b9;
        }
    .div_sale_person div[rel="name_tel"] {
        display: flex;
        padding: 0.5rem;
        font-size: 0.75rem;
    }
        .div_sale_person div[rel="name_tel"] > div[rel="name"] {
            flex: 1;
            text-align: right;
        }
        .div_sale_person div[rel="name_tel"] > div[rel="tel"] {
            flex: 1;
            text-align: left;
        }
            .div_sale_person div[rel="name_tel"] > div[rel="tel"] > img {
                width: unset;
                display: inline;
            }
            /*
    .div_sale_person div[rel="tel"] {
        display: flex;
    }
        .div_sale_person div[rel="tel"] > a {
            flex: 1;
            font-size: 0.75rem;
            white-space: nowrap;
            direction: ltr;
            border: 1px solid transparent;
            padding: 0.4rem 0 0.1rem 0;
            text-align: center;
            border-radius: 0.2rem;
        }
            .div_sale_person div[rel="tel"] > a:hover {
                border-color: #76c5ff;
                background-color: #d2ecff;
            }
            .div_sale_person div[rel="tel"] > a:active {
                border-color: #5eb2ef;
                background-color: #a2ceee;
            }
            */
.report_16x16 {
    background-image: url('Style/Image/Icon/chart2.png?rnd=3');
    background-size: 100%;
    background-repeat: no-repeat;
    border-style: solid;
    border-width: 0px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-color: transparent;
}

#div_ballon_container {
    height: var(--toggle-height);
    transition: height 0.2s linear;
    position: relative;
    overflow: hidden;
    top: -27px;
}
    #div_ballon_container.div_ballon_closed {
        height: 0;
    }
.div_ballon {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    background-color: #fff;
    border: 1px solid #cfcfcf;
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
    border-radius: 0.7rem;
    box-shadow: 0 1px 3px #b9b9b9;
}

    .div_ballon:before {
        content: '';
        position: absolute;
        width: 15px;
        height: 15px;
        background-color: #fff;
        border: 1px solid #cfcfcf;
        box-shadow: 0 0 2px #b9b9b9;
        top: -7px;
        left: calc(25% - 7.5px);
        transform: rotate(-45deg);
        border-radius: 0.2rem;
        z-index: 0;
        pointer-events: none;
    }
    .div_ballon:after {
        content: '';
        position: absolute;
        width: 30px;
        height: 11px;
        pointer-events: none;
        background-color: #fff;
        top: 0;
        left: calc(25% - 14px);
    }
    .div_ballon > a[rel="contact"] {
        display: block;
        text-align: center;
        margin: 0.3rem auto;
        border: 1px dashed transparent;
        border-radius: 0.3rem;
        padding: 0.3rem;
    }
        .div_ballon > a[rel="contact"]:hover {
            border-color: #fff;
            background-color: #0094ff;
            color: #fff;
        }
    .div_ballon > div[rel="internal"] {
        background-color: #539100;
        color: #fff;
        padding: 0.3rem 0 0.2rem 0;
        text-align: center;
        font-size: 0.75rem;
        border-radius: 0.3rem;
    }
    .div_ballon > table {
        width: 100%;
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }
        .div_ballon > table td {
            text-align: center;
        }
        .div_ballon > table a {
            padding: 0.3rem 0.6rem 0.15rem 0.6rem;
            border-radius: 0.3rem;
            display: block;
        }
            .div_ballon > table a:hover {
                background-color: #0094ff;
                color: #fff;
            }