@import url("/css/style.css");
@import url("/css/components/search.css");
@import url("/css/components/table.css");
@import url("/css/components/map.css");


.referers-table-container{
    width: 79vw;
    margin: 0 auto;

    @media (max-width: 1500px) {
        width: 100%;
    }
}

.referers-main-table,
.referers-packages-table {
    border: solid 1px #aaa;
    border-radius: 5px;
    padding: 0;
}

.activity-content {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: end;
}

.month {
    display: flex;
    flex-direction: column;
    margin: 0 3px;
}

.month-title {
    display: flex;
    justify-content: center;
    font-size: 14px;
}

.month-weeks {
    display: flex;
}

.week-legend {
    font-size: 12px;
}

.week-item {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;
    margin: 2px;
    border: none;

    @media (max-width: 1500px) {
        width: 14px;
        height: 14px;
    }
    @media (max-width: 1280px) {
        width: 12px;
        height: 12px;
    }
}

.day {
    background-color: rgb(240, 240, 240);
}
.day:hover {
    outline: 2px solid black;
}
.day.activ {
    background-color: rgb(0, 150, 255);
    position: relative;
}
.ratio {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255, 75, 75);
    /* background-color: rgb(0, 150, 0); */
    z-index: 1;
}
.day:focus{
    outline: 1px black solid;
}
.tooltip-content {
    text-wrap: nowrap;
    font-size: 14px;
    color: black;
}
.tooltip-content p {
    margin: 0;
    /* width: 100%; */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* bootstrap overrides */
.tooltip .arrow::before{
    border-bottom-color: gray;
}
.tooltip.show{
    opacity: 1;
}
.tooltip-inner{
    text-align: left;
    color: black;
    padding: 10px;
    background-color: rgb(240, 240, 240);
    box-shadow: 5px 10px 10px -5px gray;
    max-width: 250px;
}
.tooltip{
    padding-bottom: 0;
}

.year-meters{
    display: flex;
    flex-direction: column;
    height: 350px;
    overflow-y: scroll;
}